package io;

import java.io.*;

public class FOSDemo {
    public static void main(String[] args) throws IOException {
        File file=new File("qa.c");
        FileInputStream del=new FileInputStream(file);
        FileOutputStream fos=new FileOutputStream(file);
        fos.write(1);
        fos.write(2);
        System.out.println("写出完毕");
        fos.close();
    }
}
